(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ 'use strict';var k=this||self;function aa(a,b,c){return a.call.apply(a.bind,arguments)}function ea(a,b,c){if(!a)throw Error();if(2=a.l?a.g?a.g[b]:void 0:c&&a.g&&(c=a.g[b],null!=c)?c:a.j[b+a.i]}function B(a,b,c){a=A(a,b);return null==a?c:a}function C(a,b){a=A(a,b);a=null==a?a:!!a;return null==a?!1:a}function na(a){var b=oa;a.h||(a.h={});const c=a.h[1];if(c)return c;let d=A(a,1,!1);if(null==d)return c;b=new b(d);u(a.j)&&v(b.j);return a.h[1]=b} function pa(a){var b=qa;a.h||(a.h={});var c=u(a.j),d=a.h[1];if(!d){var e=A(a,1,!1);null==e&&(e=z);if(u(a.j))v(e),Object.freeze(e);else if(e===z||u(e)){d=e=t(e.slice());if(u(a.j))throw Error("Cannot mutate an immutable Message");1e;e++){var f=c.concat(d[e].split(""));ha[e]=f;for(var h=0;h>2];l=b[(l&3)<<4|m>>4];m=b[(m&15)<<2|g>>6];g=b[g&63];c[e++]=h+l+m+g}h=0;g=d;switch(a.length-f){case 2:h=a[f+1],g=b[(h&15)<<2]||d;case 1:a=a[f],c[e]=b[a>>2]+b[(a&3)<<4|h>>4]+g+d}a=c.join("")}}return Array.isArray(a)?ra(a,va):a}function sa(a){return ia&&null!=a&&a instanceof Uint8Array?new Uint8Array(a):a};let wa;var xa=class{constructor(a,b,c){var d=wa;wa=null;a||(a=d);d=this.constructor.h;a||(a=d?[d]:[]);this.i=(d?0:-1)-(this.constructor.g||0);this.h=void 0;this.j=a;a:{d=this.j.length;a=d-1;if(d&&(d=this.j[a],la(d))){this.l=a-this.i;this.g=d;break a}void 0!==b&&-1{Object.defineProperties(ya,{[Symbol.hasInstance]:ma(()=>{throw Error("Cannot perform instanceof checks for MutableMessage");})})};za();class D extends ya{}const Aa=()=>{Object.defineProperties(D,{[Symbol.hasInstance]:ma(Object[Symbol.hasInstance])})};Aa();var oa=class extends D{constructor(a){super(a,-1,Ba)}},qa=class extends D{constructor(a){super(a)}},Ba=[1];var Ca=class extends D{constructor(a){super(a)}};var G=class{constructor(a,b){this.g=b===F?a:""}};G.prototype.i=!0;G.prototype.h=function(){return this.g.toString()};G.prototype.toString=function(){return this.g.toString()};function Da(a){return a instanceof G&&a.constructor===G?a.g:"type_error:SafeUrl"}var Ea=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,F={};/* SPDX-License-Identifier: Apache-2.0 */ var Fa=class{};class H extends Fa{constructor(a){super();this.g=a}toString(){return this.g}}var Ga=new H("about:invalid#zTSz");function Ha(a){if(a instanceof Fa)if(a instanceof H)a=a.g;else throw Error("");else a=Da(a);return a};function Ia(){}function Ja(a){let b=!1,c;return function(){b||(c=a(),b=!0);return c}};var Ka={capture:!0},La={passive:!0},Ma=Ja(function(){let a=!1;try{const b=Object.defineProperty({},"passive",{get:function(){a=!0}});k.addEventListener("test",null,b)}catch(b){}return a});function I(a,b,c,d){if(a.addEventListener){var e=a.addEventListener;d=d?d.passive&&Ma()?d:d.capture||!1:!1;e.call(a,b,c,d)}};function Na(a,b,c){if(Array.isArray(b))for(var d=0;d{const a=J;J=[];for(const b of a)try{b()}catch(c){}};var Pa=a=>{var b=L;"complete"===b.readyState||"interactive"===b.readyState?(J.push(a),1==J.length&&(window.Promise?Promise.resolve().then(K):window.setImmediate?setImmediate(K):setTimeout(K,0))):b.addEventListener("DOMContentLoaded",a)};function Qa(a=document){return a.createElement("img")};function Ra(a=null){return a&&"23"===a.getAttribute("data-jc")?a:document.querySelector('[data-jc="23"]')} function Sa(){if(!(.01{k.google_logging_queue||(k.google_logging_queue=[]);k.google_logging_queue.push([12,a])};class Ua{constructor(a){this.G=a}}function N(a){return new Ua(b=>b.substr(0,a.length+1).toLowerCase()===a+":")}const Va=new Ua(a=>/^[^:]*([/?#]|$)/.test(a));var Wa=N("http"),Xa=N("https"),Ya=N("ftp"),Za=N("mailto");const $a=[N("data"),Wa,Xa,Za,Ya,Va];function ab(a=$a){for(let b=0;b{var a=`${"http:"===M.location.protocol?"http:":"https:"}//${"pagead2.googlesyndication.com"}/pagead/gen_204`;return b=>{b={id:"unsafeurl",ctx:625,url:b};var c=[];for(d in b)Na(d,b[d],c);var d=c.join("&");if(d){b=a.indexOf("#");0>b&&(b=a.length);c=a.indexOf("?");if(0>c||c>b){c=b;var e=""}else e=a.substring(c+1,b);b=[a.substr(0,c),e,a.substr(b)];c=b[1];b[1]=d?c?c+"&"+d:d:c;d=b[0]+(b[1]?"?"+b[1]:"")+b[2]}else d=a;navigator.sendBeacon&&navigator.sendBeacon(d,"")}};var eb=()=>{var a=L;try{return a.querySelectorAll("*[data-ifc]")}catch(b){return[]}},fb=(a,b)=>{a&&Oa(b,(c,d)=>{a.style[d]=c})},gb=a=>{var b=L.body;const c=document.createDocumentFragment(),d=a.length;for(let e=0;e{const a=k.performance;return a&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):Date.now()},ib=()=>{const a=k.performance;return a&&a.now?a.now():null};class jb{constructor(a,b){var c=ib()||hb();this.label=a;this.type=b;this.value=c;this.duration=0;this.uniqueId=Math.random();this.slotId=void 0}};const P=k.performance,kb=!!(P&&P.mark&&P.measure&&P.clearMarks),Q=Ja(()=>{var a;if(a=kb){var b;if(null===O){O="";try{a="";try{a=k.top.location.hash}catch(c){a=k.location.hash}a&&(O=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c){}}b=O;a=!!b.indexOf&&0<=b.indexOf("1337")}return a});function lb(a){a&&P&&Q()&&(P.clearMarks(`goog_${a.label}_${a.uniqueId}_start`),P.clearMarks(`goog_${a.label}_${a.uniqueId}_end`))} class mb{constructor(){var a=window;this.g=[];this.i=a||k;let b=null;a&&(a.google_js_reporting_queue=a.google_js_reporting_queue||[],this.g=a.google_js_reporting_queue,b=a.google_measure_js_timing);this.h=Q()||(null!=b?b:1>Math.random())}start(a,b){if(!this.h)return null;a=new jb(a,b);b=`goog_${a.label}_${a.uniqueId}_start`;P&&Q()&&P.mark(b);return a}end(a){if(this.h&&"number"===typeof a.value){a.duration=(ib()||hb())-a.value;var b=`goog_${a.label}_${a.uniqueId}_end`;P&&Q()&&P.mark(b);!this.h||2048< this.g.length||this.g.push(a)}}};const R=new mb;var nb=()=>{window.google_measure_js_timing||(R.h=!1,R.g!=R.i.google_js_reporting_queue&&(Q()&&p(R.g,lb),R.g.length=0))};"number"!==typeof window.google_srt&&(window.google_srt=Math.random());"complete"==window.document.readyState?nb():R.h&&I(window,"load",()=>{nb()});var ob=a=>{I(M,"message",b=>{let c;try{c=JSON.parse(b.data)}catch(d){return}!c||"ig"!==c.googMsgType||a(c,b)})};function W(){this.h=this.h;this.i=this.i}W.prototype.h=!1;function pb(a){a.h||(a.h=!0,a.l())}W.prototype.l=function(){if(this.i)for(;this.i.length;)this.i.shift()()};function X(a,b,c){W.call(this);this.o=a;this.C=b||0;this.s=c;this.v=n(this.B,this)}fa(X,W);X.prototype.g=0;X.prototype.l=function(){X.H.l.call(this);0!=this.g&&k.clearTimeout(this.g);this.g=0;delete this.o;delete this.s}; X.prototype.start=function(a){0!=this.g&&k.clearTimeout(this.g);this.g=0;var b=this.v;a=void 0!==a?a:this.C;if("function"!==typeof b)if(b&&"function"==typeof b.handleEvent)b=n(b.handleEvent,b);else throw Error("Invalid listener argument");this.g=2147483647{a&&(a.style.display=b?"inline-block":"none")};function sb(a=""){const b={top:0,right:0,bottom:0,left:0};a&&(a=a.split(","),4===a.length&&a.reduce((c,d)=>c&&!isNaN(+d),!0)&&([b.top,b.right,b.bottom,b.left]=a.map(c=>+c)));return b} function tb(a,b,c=2147483647){const d=L.createElement("div");fb(d,Object.assign(Object.assign(Object.assign({},qb),{"z-index":String(c)}),b));C(a.data,10)&&I(d,"click",Ia);if(C(a.data,11)){a=b=L.createElement("a");c=db();const e=bb(cb);e===Ga&&c("#");c=new G(Ha(e),F);c instanceof G||c instanceof G||(c="object"==typeof c&&c.i?c.h():String(c),Ea.test(c)||(c="about:invalid#zClosurez"),c=new G(c,F));a.href=Da(c);b.appendChild(d);return b}return d} function ub(a,b){var c,d,e,f;switch(B(b.m,5,1)){case 2:null===(d=null===(c=M.AFMA_Communicator)||void 0===c?void 0:c.addEventListener)||void 0===d?void 0:d.call(c,"onshow",()=>{Z(a,b)});break;case 10:I(M,"i-creative-view",()=>{Z(a,b)});break;case 4:I(L,"DOMContentLoaded",()=>{Z(a,b)});break;case 8:ob(h=>{h.rr&&Z(a,b)});break;case 9:if("IntersectionObserver"in M){const h=new IntersectionObserver(g=>{for(const l of g)if(0{Z(a,b)})}}function vb(a,b){b=sb(b);const c=B(a.data,9,0);a.i=[{width:"100%",height:b.top+c+"px",top:-c+"px",left:"0"},{width:b.right+c+"px",height:"100%",top:"0",right:-c+"px"},{width:"100%",height:b.bottom+c+"px",bottom:-c+"px",left:"0"},{width:b.left+c+"px",height:"100%",top:"0",left:-c+"px"}].map(d=>tb(a,d,9019))} function wb(a){var b=0;for(const d of a.C){const e=d.m,f=a.v[B(e,5,1)];d.u||void 0===f||(b=Math.max(b,f+B(e,2,0)))}a.l&&pb(a.l);b-=Date.now();const c=a.g;0{Y(c,!1)},b),a.l.start()):Y(c,!1)}function Z(a,b){b.u||(a.v[B(b.m,5,1)]=Date.now(),C(b.m,9)&&(a.C.push(b),wb(a)))};window.googqscp=new class{constructor(){this.i=[];this.l=this.g=null;this.C=[];this.data=null;this.B=[];this.h=[];this.s=[];this.v={};this.I=[];this.o=null}init(a){Ta([a]);this.data=new Ca(a);a=na(this.data);p(pa(a),e=>{this.s.push({D:0,u:!1,F:0,m:e,A:-1})});this.h=eb();let b=!1;a=this.h.length;for(let e=0;e{this.s.push({D:0,u:!1,F:0,m:f,A:e});1===B(f,4,1)&&(b=!0)})}a=!1;for(var d of this.s)c=d.m,0{const e=L.body.querySelectorAll(".amp-fcp, .amp-bcp");for(let h=0;h{if(!1===e.isTrusted&&C(this.data,15))e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopImmediatePropagation(), Sa();else{var f=-1,h=[];for(const w of this.s){var g=w.A,l=-1!==g;if(!(B(w.m,3,0)<=f||w.u||l&&!1===h[g])){var m=!l||h[g]||this.h[g].contains(e.target);l&&m&&(h[g]=!0);if(g=m)if(g=e,m=w,l=m.m,0S||0>T)g=!1;else{m=sb(B(m.m,1,""));x=!(S>=m.left&&ba-S>m.right&&T>=m.top&&ca-T>m.bottom);if(this.o&&C(this.data,12)&&300>g.timeStamp-this.o.timeStamp){g=this.o.changedTouches[0];const [U,V]=[g.clientX/E-l.left,g.clientY/E-l.top];!isNaN(U)&&!isNaN(V)&&0<=U&&0<=V&&(x=(x=C(this.data,16)?x:!1)||!(U>=m.left&&ba-U>m.right&&V>=m.top&&ca-V>m.bottom))}g=x}}}else g=!0;if(g){var y=w;f=B(w.m,3,0)}}}if(y)switch(f=y.m,B(f,4,1)){case 2:case 3:e.preventDefault? e.preventDefault():e.returnValue=!1;h=Date.now();500=B(h,8,0))if(y.u=!0,this.g&&0{this.o=e},La)}registerCallback(a){this.B.push(a)}};}).call(this);